<template>
    <div id="box">
        <div class="container">
            <div class="left">
                <ul>
                    <li>服务条款</li>
                    <li>隐私政策</li>
                    <li>儿童隐私政策</li>
                    <li>版权投诉指引</li>
                    <li>意见反馈</li>
                </ul>
                <p><span>陕西理工大学2021毕业设计</span><span>数学与计算机科学学院</span></p>
                <p><span>计算机1701</span><span>联系邮箱:</span><span>2504983839@qq.com</span></p>
            </div>
            <div class="right">
                <a href="javascript:;" title="HTML5"><i class="iconfont icon-html"></i></a>
                <a href="javascript:;" title="CSS3"><i class="iconfont icon-css"></i></a>
                <a href="javascript:;" title="JavaScript"><i class="iconfont icon-java-script"></i></a>
                <a href="javascript:;" title="Vue.js"><i class="iconfont icon-vue"></i></a>
                <a href="javascript:;" title="Node.js"><i class="iconfont icon-nodejs-alt"></i></a>
            </div>
        </div>
    </div>
</template>

<style lang="scss" scoped>
    #box {
        height: 120px;
        margin-bottom: 50px;
        border-top: 1px solid #999;

        .container {
            display: flex;
            flex-flow: row nowrap;
            justify-content: space-between;
            align-items: center;
            width: 1200px;
            height: 100%;
            padding: 15px 0;
            margin: 0 auto;

            .left {
                flex: 1 1 50%;
                display: flex;
                flex-flow: column nowrap;
                justify-content: flex-start;
                align-items: flex-start;
                height: 100%;
                padding-left: 20px;
                font-size: 0.7rem;

                >* {
                    flex: 1 1 auto;
                }

                ul {
                    display: flex;
                    flex-flow: row nowrap;
                    justify-content: flex-start;
                    align-items: center;

                    li {
                        position: relative;
                        padding-right: 30px;
                        color: #ccc;
                        cursor: pointer;

                        &:hover {
                            text-decoration: underline;
                        }

                        &::after {
                            content: '';
                            display: block;
                            position: absolute;
                            top: 3px;
                            right: 15px;
                            width: 1px;
                            height: 80%;
                            background-color: #aaa;
                        }
                    }
                }

                p {
                    cursor: pointer;

                    &:first-of-type {
                        margin-top: 3px;
                    }

                    &:last-of-type {
                        span {
                            &:last-child {
                                margin-left: -15px;
                            }

                            &:last-child:hover {
                                text-decoration: underline;
                            }
                        }
                    }

                    span {
                        margin-right: 20px;
                    }
                }
            }

            .right {
                flex: 1 1 50%;
                display: flex;
                flex-flow: row nowrap;
                justify-content: space-evenly;
                align-items: center;
                padding-right: 100px;
                
                i {
                    font-size: 3rem;
                }
            }
        }
    }
</style>